From 7d842fea83a389c001320a870829c8abe81d1894 Mon Sep 17 00:00:00 2001 From: debris Date: Thu, 27 Jul 2017 23:20:34 +0200 Subject: [PATCH] Fixed bench_virtual_manifest_all_implied test --- tests/bench.rs | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/tests/bench.rs b/tests/bench.rs index 728536d80..56cc52f6e 100644 --- a/tests/bench.rs +++ b/tests/bench.rs @@ -1231,20 +1231,13 @@ fn bench_virtual_manifest_all_implied() { "#); // The order in which foo and bar are built is not guaranteed + assert_that(p.cargo_process("bench"), execs().with_status(0) .with_stderr_contains("\ [RUNNING] target[/]release[/]deps[/]bar-[..][EXE]") - .with_stdout_contains(" -running 1 test -test bench_bar ... bench: 0 ns/iter (+/- 0) -test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured -") - .with_stderr_contains("\ + .with_stdout_contains("test bench_bar ... bench: [..]") + .with_stderr_contains("\ [RUNNING] target[/]release[/]deps[/]foo-[..][EXE]") - .with_stdout_contains(" -running 1 test -test bench_foo ... bench: 0 ns/iter (+/- 0) -test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured -")); + .with_stdout_contains("test bench_foo ... bench: [..]")); } -- 2.30.2